<template>
  <div class="contact-component">
    <div>
      <image @click="phone" src="../../static/phone.png"> </image>
    </div>


    <a href="/pages/apply/main">
      <image src="../../static/message.png"> </image>
    </a>
  </div>
</template>

<script>
  const wxapp = getApp();
  export default {
    methods:{
      phone(){
        wx.makePhoneCall({
          phoneNumber: wxapp.globalData.base.lxdh //仅为示例，并非真实的电话号码
        })
      }
    }
  }
</script>
<style scoped>
.contact-component{
  position: fixed;
  flex-direction: column;
  width: 100rpx;
  height: 220rpx;
  bottom: 0;
  right: 5rpx;
}

  .contact-component image{
    width: 100rpx;
    height: 100rpx;
  }


</style>
